package br.com.sig.config;

import javax.annotation.PostConstruct;
import javax.ejb.Singleton;
import javax.ejb.Startup;
import javax.enterprise.inject.spi.BeanManager;
import javax.inject.Inject;

import br.com.sig.business.model.entity.event.BeanManagerEvent;

@Startup
@Singleton
public class ConfigSigApplication {

	@Inject
	private BeanManager beanManager;
		
	@PostConstruct
	public void init() {
		beanManager.fireEvent(new BeanManagerEvent(beanManager));
	}
}
